<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=\, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Document</title>
</head>
<body>
    <form action="/txt/up" method="post" enctyype="multipart/form-data">
        上传头像：<input type="file" name="avatar"><br>{{csrf_field()}}
        <input type="submit" value="提交">
    </form>
</body>
</html>